#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>

#define SWAP(x) (x = ((x&0x55555555)<<1)+((x&0xaaaaaaaa)>>1)) 

int main()
{
	int a = 10;
	printf("%d", SWAP(a));


	return 0;
}